import { Module } from '@nestjs/common';
import { MenuController } from './menu.controller';
import { MenuService } from './menu.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Menu } from 'src/entity/Menu';
import { RoleModule } from 'src/role/role.module';
import { Role } from 'src/entity/Role';
import { RoleService } from 'src/role/role.service';

@Module({
  imports: [RoleModule, TypeOrmModule.forFeature([Menu, Role])],
  controllers: [MenuController],
  providers: [MenuService],
})
export class MenuModule { }
